package com.java8.inaction;

/**
 * @Author HBZ
 * @Date 2020/8/5 11:22
 * @Description
 */
public class Apple {
    public Apple(Integer weight,String color){
        this.weight=weight;
        this.color=color;
    }
    private Integer weight;
    private String color;

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
